#pragma once

#include "ColligereSearchDiscogs.hpp"

class ColligereSearchDiscogsPanel : public wxPanel
{
public:
	virtual ~ColligereSearchDiscogsPanel() { }
private:
	ColligereSearchDiscogsPanel();

	void OnSearchTermUpdated ( wxCommandEvent &rEvt );
	void OnButtonSearch ( wxCommandEvent &rEvt );
	void OnSearchResultDClick ( wxCommandEvent &rEvt );

	col::SearchDiscogs mDiscogsSearcher;
	std::map < wxUint32, col::SearchDiscogs::SearchResult > mCurSearchResults;
	
	DECLARE_DYNAMIC_CLASS ( ColligereSearchDiscogsPanel );
};